package com.oocl.im.entity;

import java.io.Serializable;
import java.util.Map;



public class Protocol implements Serializable{
	private static final long serialVersionUID = 1L;
	private String msgType;

	private Map<String,Object> params;



	public Protocol(String msgType, Map<String,Object> params) {
		this.msgType = msgType;

		this.params = params;
	}

	public Protocol() {

	}
	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public Map<String, Object> getParams() {
		return params;
	}

	public void setParams(Map<String, Object> params) {
		this.params = params;
	}

	@Override
	public String toString() {
		return "Protocol{" +
				"msgType='" + msgType + '\'' +
				", params=" + params +
				'}';
	}
}
